export default {
  createDepartment:{//创建部门
    url: '/core/department/create',
    require:['token','clientid','name','companyId','contact','phone','address']
  },
  getDepartmentById:{//通过id获取部门
    url: '/core/department/get',
    require:['token','id','clientid']
  },
  getDepartmentList:{//获取部门列表
    url: '/core/department/list',
    require:['token','clientid','companyId']
  },
  delDepartment:{//删除部门
    url: '/core/department/delete',
    require:['token','id','clientid']
  },
  updateDepartment:{//更新部门
    url: '/core/department/update',
    require:['token','id','clientid']
  },
  createDepartmentType:{//创建部门类型
    url: '/core/departmentType/create',
    require:['token','clientid','name']
  },
  deleteDepartmentType:{//删除部门类型
    url: '/core/departmentType/delete',
    require:['token','id','clientid']
  },
  updateDepartmentType:{//更新部门类型
    url: '/core/departmentType/update',
    require:['token','id','clientid']
  },
  getDepartmentType:{//获取部门类型
    url: '/core/departmentType/get',
    require:['token','id','clientid']
  },
  getDepartmentTypeList:{//获取部门类型列表
    url: '/core/departmentType/list',
    require:['token','clientid']
  },
}
